package com.rentplant.service;

import com.alibaba.fastjson.JSONObject;
import com.rentplant.Pojo.helpcollect;
import com.rentplant.Pojo.helpcollectanduser;

import java.util.List;

public interface helpCollectService {
    //    查询该用户是否收藏
    public List<helpcollect> isCollect(JSONObject helpcollectinfo);

    //收藏求租信息
    public boolean addHelpCollect(JSONObject helpcollectinfo);

    //取消求助收藏
    public boolean delHelpCollect(JSONObject helpcollectinfo);

    //    展示用户收藏的求租信息
    public List<helpcollectanduser>showHelpCollect(JSONObject userinfo);
}
